<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="style.css">
</head>

<body>
  <div class="login">
    <form action="">
      <h2>账号注册</h2>
      <div class="login-item">
        <div>
          <label for="userId">用户名</label>
        </div>
        <input type="text" id="userId" required>
      </div>
      <div class="login-item">
        <div>
          <label for="email">邮箱地址 <span>( 用于找回密码 )</span> </label>
        </div>
        <input type="email" id="email" required>
      </div>
      <div class="login-item">
        <div>
          <label for="phone">手机号</label>
        </div>
        <div class="layout">
          <input type="text" id="phone" placeholder="海外用“区号-手机号”" required>
          <button class="code">发送验证码</button>
        </div>
      </div>
      <div class="login-item">
        <div>
          <label for="code">短信验证码 <span> ( 获得发帖权限 注册后绑定 ) </span> </label>
        </div>
        <input type="text" id="code" required>
      </div>
      <div class="login-item">
        <div>
          <label for="password">密码</label>
        </div>
        <input type="password" id="password" required>
      </div>
      <div class="login-item">
        <div>
          <label for="rpassword">重复密码</label>
        </div>
        <input type="password" id="rpassword" required>
      </div>
      <div class="layout">
        <input type="checkbox" name="agree" id="agree" style="width: 20px;" required>
        <label for="agree">同意 <a href="">用户协议</a> 和<a href="">隐私协议</a>并继续</a> </label>
      </div>
      <button class="zc">注册</button>
    </form>
  </div>
</body>

</html>